package wci.intermediate;

import wci.intermediate.typeimpl.*;

/**
 * <p>类型说明的工厂类</p>
 * <p>Copyright (c) 2009 by Ronald Mak</p>
 * <p>For instructional purposes only.  No warranties.</p>
 */
public class TypeFactory
{
    public static TypeSpec createType(TypeForm form)
    {
        return new TypeSpecImpl(form);
    }

    public static TypeSpec createStringType(String value)
    {
        return new TypeSpecImpl(value);
    }
}
